<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Mapache: Referencia de la Clase VerificadorTimeOut</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../Mapache.png"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mapache&#160;<span id="projectnumber">v1.0.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Clases</span></a></li>
      <li><a href="../../files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
      <li><a href="../../classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
      <li><a href="../../inherits.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
      <li><a href="../../functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('dd/d84/classVerificadorTimeOut.html','../../');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos públicos</a> &#124;
<a href="#pro-methods">Métodos protegidos</a> &#124;
<a href="#pri-attribs">Atributos privados</a>  </div>
  <div class="headertitle">
<h1>Referencia de la Clase VerificadorTimeOut</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="VerificadorTimeOut" --><!-- doxytag: inherits="Thread" -->
<p><code>#include &lt;VerificadorTimeOut.h&gt;</code></p>
<div class="dynheader">
Diagrama de herencias de VerificadorTimeOut</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d02/classVerificadorTimeOut__inherit__graph.png" border="0" usemap="#VerificadorTimeOut_inherit__map" alt="Inheritance graph"/></div>
<map name="VerificadorTimeOut_inherit__map" id="VerificadorTimeOut_inherit__map">
<area shape="rect" id="node2" href="../../d0/d51/classThread.html" title="Thread" alt="" coords="41,5,103,35"/></map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>
<div class="dynheader">
Diagrama de colaboración para VerificadorTimeOut:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/db7/classVerificadorTimeOut__coll__graph.png" border="0" usemap="#VerificadorTimeOut_coll__map" alt="Collaboration graph"/></div>
<map name="VerificadorTimeOut_coll__map" id="VerificadorTimeOut_coll__map">
<area shape="rect" id="node2" href="../../d0/d51/classThread.html" title="Thread" alt="" coords="35,309,96,339"/><area shape="rect" id="node4" href="../../d5/d11/classAdministradorClientes.html" title="AdministradorClientes" alt="" coords="120,309,269,339"/><area shape="rect" id="node6" href="../../de/dcb/classConfiguracion.html" title="Configuracion" alt="" coords="83,213,184,243"/><area shape="rect" id="node8" href="../../d6/d3c/classConfiguracionBasica.html" title="ConfiguracionBasica" alt="" coords="5,117,147,147"/><area shape="rect" id="node12" href="../../d9/df9/classConfiguracionLogs.html" title="ConfiguracionLogs" alt="" coords="171,117,301,147"/><area shape="rect" id="node15" href="../../dd/db9/classMutex.html" title="Mutex" alt="" coords="208,213,267,243"/></map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">significado de colores y flechas</a>]</span></center></div>

<p><a href="../../d9/d1b/classVerificadorTimeOut-members.html">Lista de todos los miembros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#ab8ec5852caeb744f437e9db7453b7189">VerificadorTimeOut</a> (int timeOutEnSegundos, int timeOutConfig, <a class="el" href="../../d5/d11/classAdministradorClientes.html">AdministradorClientes</a> *admin)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a66691af6fbf722747d16e30ca4229159">~VerificadorTimeOut</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Métodos protegidos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#ab627ad0aeb6139ceaee65ae36b462f18">run</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a46a7785a9fa840047ea6d0c64e29a7a4">tiempoRefrezco</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a839be32efda13c994ebc5a12ce24ba13">cantidadEnConfiguracion</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/d11/classAdministradorClientes.html">AdministradorClientes</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a2f2504bd0b640e80473cc3be182fe26e">administrador</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<div class="textblock"><p>Clase encargada de verificar el tiempo de espera de los clientes dentro del servidor. </p>
</div><hr/><h2>Documentación del constructor y destructor</h2>
<a class="anchor" id="ab8ec5852caeb744f437e9db7453b7189"></a><!-- doxytag: member="VerificadorTimeOut::VerificadorTimeOut" ref="ab8ec5852caeb744f437e9db7453b7189" args="(int timeOutEnSegundos, int timeOutConfig, AdministradorClientes *admin)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VerificadorTimeOut::VerificadorTimeOut </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeOutEnSegundos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeOutConfig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d11/classAdministradorClientes.html">AdministradorClientes</a> *&#160;</td>
          <td class="paramname"><em>admin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">timeOutEnSegundos</td><td>es el tiempo en segundos que indica cada cuanto se realiza una nueva verificacion </td></tr>
    <tr><td class="paramname">timeOutConfig</td><td>es el tiempo de timeOut que los clientes no deben pasar. Una vez que el cliente supera ese limite es dado de baja  es una referencia al administrador de clientes asociado al servidor. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a66691af6fbf722747d16e30ca4229159"></a><!-- doxytag: member="VerificadorTimeOut::~VerificadorTimeOut" ref="a66691af6fbf722747d16e30ca4229159" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VerificadorTimeOut::~VerificadorTimeOut </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor </p>

</div>
</div>
<hr/><h2>Documentación de las funciones miembro</h2>
<a class="anchor" id="ab627ad0aeb6139ceaee65ae36b462f18"></a><!-- doxytag: member="VerificadorTimeOut::run" ref="ab627ad0aeb6139ceaee65ae36b462f18" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VerificadorTimeOut::run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implementa <a class="el" href="../../d0/d51/classThread.html#aae90dfabab3e1776cf01a26e7ee3a620">Thread</a>.</p>

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/d84/classVerificadorTimeOut_ab627ad0aeb6139ceaee65ae36b462f18_cgraph.png" border="0" usemap="#dd/d84/classVerificadorTimeOut_ab627ad0aeb6139ceaee65ae36b462f18_cgraph" alt=""/></div>
<map name="dd/d84/classVerificadorTimeOut_ab627ad0aeb6139ceaee65ae36b462f18_cgraph" id="dd/d84/classVerificadorTimeOut_ab627ad0aeb6139ceaee65ae36b462f18_cgraph">
<area shape="rect" id="node3" href="../../d5/d11/classAdministradorClientes.html#a992e2ecb8d866e2a9b3a38c378b06797" title="AdministradorClientes::limpiarActivosConTimeOutMayor" alt="" coords="215,245,564,275"/><area shape="rect" id="node35" href="../../d0/d51/classThread.html#a6ccc66ed9a465ab7e4c8ae9526be86a2" title="Thread::vivo" alt="" coords="343,299,436,328"/><area shape="rect" id="node5" href="../../dd/d69/classManejadorClienteHTTP.html#a155eac978f3b43f4d482e6dec4364c33" title="ManejadorClienteHTTP::apagar" alt="" coords="651,5,856,35"/><area shape="rect" id="node9" href="../../d1/d5d/AdministradorClientes_8cpp.html#a4ee4413f25fd56aa9531dab7481e49b9" title="finalizado" alt="" coords="715,59,792,88"/><area shape="rect" id="node11" href="../../de/dcb/classConfiguracion.html#a20fb9b7ad266b7dbc3ed1d383890917d" title="Configuracion::getConfiguracionBasica" alt="" coords="629,112,877,141"/><area shape="rect" id="node13" href="../../de/dcb/classConfiguracion.html#a6bfe50767113104ee094081d9efb7024" title="Configuracion::getConfiguracionLogs" alt="" coords="636,165,871,195"/><area shape="rect" id="node15" href="../../d6/da5/classManejadorLogs.html#afe44c6231459918a17ea7616bb058438" title="ManejadorLogs::getInstance" alt="" coords="660,219,847,248"/><area shape="rect" id="node23" href="../../dd/d69/classManejadorClienteHTTP.html#a76db25c3a32161bcb0e2fe09ebd62a88" title="ManejadorClienteHTTP::getIpCliente" alt="" coords="636,272,871,301"/><area shape="rect" id="node27" href="../../dd/d69/classManejadorClienteHTTP.html#a2d9cc45eb6afae5374a46477db8f0c6d" title="ManejadorClienteHTTP::getOffsetSegundos" alt="" coords="615,325,892,355"/><area shape="rect" id="node29" href="../../d6/d3c/classConfiguracionBasica.html#a9c02c04bdd2ebaf333f64af4fcc68a7b" title="ConfiguracionBasica::getTimeOut" alt="" coords="644,379,863,408"/><area shape="rect" id="node31" href="../../d0/d51/classThread.html#a4d9d788e98388a3217831a9046709deb" title="Thread::join" alt="" coords="708,432,799,461"/><area shape="rect" id="node33" href="../../d0/d51/classThread.html#a7eb2b0cd153514e0678540f019583c98" title="Thread::morir" alt="" coords="704,485,803,515"/><area shape="rect" id="node7" href="../../dd/d10/classTCPSocket.html#a673e5ea670d221b9385241dd4459c8a1" title="TCPSocket::apagar" alt="" coords="1001,5,1137,35"/><area shape="rect" id="node17" href="../../d9/df9/classConfiguracionLogs.html#ae9d0e3f38d4cac9d58438688a60cc9d3" title="ConfiguracionLogs::getRutaLogAccesos" alt="" coords="941,139,1197,168"/><area shape="rect" id="node19" href="../../d9/df9/classConfiguracionLogs.html#a7ff0d702e1995d4c4324b4d28fe57a7f" title="ConfiguracionLogs::getRutaLogErrores" alt="" coords="947,192,1192,221"/><area shape="rect" id="node21" href="../../d6/da5/classManejadorLogs.html#aa01541b63a00a931464d46d07782b4b8" title="ManejadorLogs::ManejadorLogs" alt="" coords="967,245,1172,275"/><area shape="rect" id="node25" href="../../dd/d10/classTCPSocket.html#a8ffde50d2ca5ab7854a03a5110827d40" title="TCPSocket::getIp" alt="" coords="1007,299,1132,328"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Documentación de los datos miembro</h2>
<a class="anchor" id="a2f2504bd0b640e80473cc3be182fe26e"></a><!-- doxytag: member="VerificadorTimeOut::administrador" ref="a2f2504bd0b640e80473cc3be182fe26e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/d11/classAdministradorClientes.html">AdministradorClientes</a>* <a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a2f2504bd0b640e80473cc3be182fe26e">VerificadorTimeOut::administrador</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a839be32efda13c994ebc5a12ce24ba13"></a><!-- doxytag: member="VerificadorTimeOut::cantidadEnConfiguracion" ref="a839be32efda13c994ebc5a12ce24ba13" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a839be32efda13c994ebc5a12ce24ba13">VerificadorTimeOut::cantidadEnConfiguracion</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a46a7785a9fa840047ea6d0c64e29a7a4"></a><!-- doxytag: member="VerificadorTimeOut::tiempoRefrezco" ref="a46a7785a9fa840047ea6d0c64e29a7a4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../dd/d84/classVerificadorTimeOut.html#a46a7785a9fa840047ea6d0c64e29a7a4">VerificadorTimeOut::tiempoRefrezco</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
<li>Mapache/src/servidor/<a class="el" href="../../d4/d90/VerificadorTimeOut_8h.html">VerificadorTimeOut.h</a></li>
<li>Mapache/src/servidor/<a class="el" href="../../d5/d9e/VerificadorTimeOut_8cpp.html">VerificadorTimeOut.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="../../dd/d84/classVerificadorTimeOut.html">VerificadorTimeOut</a>      </li>
      <li class="footer">Generado el Domingo, 20 de Noviembre de 2011 00:38:07 para Mapache por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
